package com.koo.modules.stock.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-04-03 10:59:55
 */
@Data
@ApiModel("")
@TableName("stock_profit_detail")
public class StockProfitDetailEntity extends CommonEntity {
    private static final long serialVersionUID = 1L;


    @ExcelIgnore
    @TableId
    private Long detailId;

    @ColumnWidth(11)
    @ExcelProperty("盘盈编号")
    @ApiModelProperty(value = "盘盈编号")
    private String profitNo;

    @ColumnWidth(11)
    @ExcelProperty("盘盈id")
    @ApiModelProperty(value = "盘盈id")
    private Long profitId;

    @ColumnWidth(11)
    @ExcelProperty("产品id")
    @ApiModelProperty(value = "产品id")
    private Long productId;

    @ColumnWidth(11)
    @ExcelProperty("产品编号")
    @ApiModelProperty(value = "产品编号")
    private String productCode;

    @ColumnWidth(11)
    @ExcelProperty("产品名称")
    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ColumnWidth(11)
    @ExcelProperty("条形码")
    @ApiModelProperty(value = "条形码")
    private String barCode;

    @ColumnWidth(11)
    @ExcelProperty("通用名称")
    @ApiModelProperty(value = "通用名称")
    private String genericName;

    @ColumnWidth(11)
    @ExcelProperty("规格")
    @ApiModelProperty(value = "规格")
    private String standard;

    @ColumnWidth(11)
    @ExcelProperty("单位")
    @ApiModelProperty(value = "单位")
    private String unit;

    @ColumnWidth(11)
    @ExcelProperty("批准文号")
    @ApiModelProperty(value = "批准文号")
    private String approvalNo;

    @ColumnWidth(11)
    @ExcelProperty("产地")
    @ApiModelProperty(value = "产地")
    private String producingArea;

    @ColumnWidth(11)
    @ExcelProperty("厂家")
    @ApiModelProperty(value = "厂家")
    private String produceFactory;

    @ColumnWidth(11)
    @ExcelProperty("剂型")
    @ApiModelProperty(value = "剂型")
    private String dosageForm;

    @ColumnWidth(11)
    @ExcelProperty("有效期")
    @ApiModelProperty(value = "有效期")
    private String expiryDate;

    @ColumnWidth(11)
    @ExcelProperty("生产日期")
    @ApiModelProperty(value = "生产日期")
    private String produceDate;

    @ColumnWidth(11)
    @ExcelProperty("批号")
    @ApiModelProperty(value = "批号")
    private String batchNo;

    @ColumnWidth(11)
    @ExcelProperty("批次号")
    @ApiModelProperty(value = "批次号")
    private String lotNo;

    @ColumnWidth(11)
    @ExcelProperty("售价")
    @ApiModelProperty(value = "售价")
    private BigDecimal tradePrice;

    @ColumnWidth(11)
    @ExcelProperty("盘盈金额")
    @ApiModelProperty(value = "盘盈金额")
    private BigDecimal profitFee;

    @ColumnWidth(11)
    @ExcelProperty("盘盈数量")
    @ApiModelProperty(value = "盘盈数量")
    private Integer profitNum;



}
